<template>
	<view class="con-result-wraper">
		<view class="head-input">
			<uni-icons class="head-icon" color="#eee" size="35" type="search" />
			<input class="uni-input" type="number" placeholder="请输入会员手机号/卡号" />
			<uni-icons class="head-icon" color="#ffaa00" size="30" type="scan" @click="tapScan" />
		</view>
	</view>
</template>

<script>
	export default {
		methods: {
			// 点击搜索
			tapScan() {
				console.log("点击搜索")
				uni.navigateTo({
					url: './memberInformation'
				})
			},
		}
	}
</script>

<style lang="scss">
	page {
		width: 100%;
		height: 100%;
		background-color: #F5F5F9;
	}

	.head-icon {
		margin: 0px 5px;
	}

	.uni-input {
		height: 45px;
		width: 60%;
		font-size: 15px;
		margin: 0px 20px 0px 0px;
	}

	.con-result-wraper {
		padding: 20px;
	}

	.head-input {
		width: 100%;
		height: 45px;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		background-color: #fff;
		border-radius: 25px;
	}
</style>